package improve_;

public class Student {
    //父类，是Pupil 和 Graduate的父类
    public String name;
    public int age;
    private double score;

    public void setScore(double score) {
        this.score = score;
    }

    public void showInfo(){
        System.out.println("学生名字" + name + " age=" + age
                + " 成绩为" + score);
    }
}
